\hypertarget{struct_gumbo_vector}{}\section{Gumbo\+Vector Struct Reference}
\label{struct_gumbo_vector}\index{Gumbo\+Vector@{Gumbo\+Vector}}


{\ttfamily \#include $<$gumbo.\+h$>$}

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
void $\ast$$\ast$ \mbox{\hyperlink{struct_gumbo_vector_a161ea3bf7f915fae8350edded5149a92}{data}}
\item 
unsigned int \mbox{\hyperlink{struct_gumbo_vector_abc3aae0896f142d245cfe29c94dbdf66}{length}}
\item 
unsigned int \mbox{\hyperlink{struct_gumbo_vector_a84033dd4f32fba2013aff52baeba6356}{capacity}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A simple vector implementation. This stores a pointer to a data array and a length. All elements are stored as void$\ast$; client code must cast to the appropriate type. Overflows upon addition result in reallocation of the data array, with the size doubling to maintain O(1) amortized cost. There is no removal function, as this isn\textquotesingle{}t needed for any of the operations within this library. Iteration can be done through inspecting the structure directly in a for-\/loop. 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{struct_gumbo_vector_a84033dd4f32fba2013aff52baeba6356}\label{struct_gumbo_vector_a84033dd4f32fba2013aff52baeba6356}} 
\index{Gumbo\+Vector@{Gumbo\+Vector}!capacity@{capacity}}
\index{capacity@{capacity}!Gumbo\+Vector@{Gumbo\+Vector}}
\subsubsection{\texorpdfstring{capacity}{capacity}}
{\footnotesize\ttfamily unsigned int Gumbo\+Vector\+::capacity}

Current array capacity. \mbox{\Hypertarget{struct_gumbo_vector_a161ea3bf7f915fae8350edded5149a92}\label{struct_gumbo_vector_a161ea3bf7f915fae8350edded5149a92}} 
\index{Gumbo\+Vector@{Gumbo\+Vector}!data@{data}}
\index{data@{data}!Gumbo\+Vector@{Gumbo\+Vector}}
\subsubsection{\texorpdfstring{data}{data}}
{\footnotesize\ttfamily void$\ast$$\ast$ Gumbo\+Vector\+::data}

Data elements. This points to a dynamically-\/allocated array of capacity elements, each a void$\ast$ to the element itself. \mbox{\Hypertarget{struct_gumbo_vector_abc3aae0896f142d245cfe29c94dbdf66}\label{struct_gumbo_vector_abc3aae0896f142d245cfe29c94dbdf66}} 
\index{Gumbo\+Vector@{Gumbo\+Vector}!length@{length}}
\index{length@{length}!Gumbo\+Vector@{Gumbo\+Vector}}
\subsubsection{\texorpdfstring{length}{length}}
{\footnotesize\ttfamily unsigned int Gumbo\+Vector\+::length}

Number of elements currently in the vector. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/network/gumbo/parser/src/\mbox{\hyperlink{gumbo_8h}{gumbo.\+h}}\end{DoxyCompactItemize}
